# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'DlgCard.ui'
##
## Created by: Qt User Interface Compiler version 6.2.1
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QAction, QBrush, QColor, QConicalGradient,
    QCursor, QFont, QFontDatabase, QGradient,
    QIcon, QImage, QKeySequence, QLinearGradient,
    QPainter, QPalette, QPixmap, QRadialGradient,
    QTransform)
from PySide6.QtWidgets import (QApplication, QComboBox, QDialog, QHBoxLayout,
    QHeaderView, QLabel, QPushButton, QSizePolicy,
    QSlider, QTableWidget, QTableWidgetItem, QVBoxLayout)

from qwt_plot import QwtPlot

class Ui_DlgCardClass(object):
    def setupUi(self, DlgCardClass):
        if not DlgCardClass.objectName():
            DlgCardClass.setObjectName(u"DlgCardClass")
        DlgCardClass.resize(542, 643)
        DlgCardClass.setStyleSheet(u"")
        self.actionAbout = QAction(DlgCardClass)
        self.actionAbout.setObjectName(u"actionAbout")
        self.actionSetup = QAction(DlgCardClass)
        self.actionSetup.setObjectName(u"actionSetup")
        self.actionExit = QAction(DlgCardClass)
        self.actionExit.setObjectName(u"actionExit")
        self.actionAutoScale = QAction(DlgCardClass)
        self.actionAutoScale.setObjectName(u"actionAutoScale")
        self.verticalLayout_4 = QVBoxLayout(DlgCardClass)
        self.verticalLayout_4.setObjectName(u"verticalLayout_4")
        self.verticalLayout_3 = QVBoxLayout()
        self.verticalLayout_3.setObjectName(u"verticalLayout_3")
        self.verticalLayout_2 = QVBoxLayout()
        self.verticalLayout_2.setObjectName(u"verticalLayout_2")
        self.horizontalLayout_5 = QHBoxLayout()
        self.horizontalLayout_5.setObjectName(u"horizontalLayout_5")
        self.label = QLabel(DlgCardClass)
        self.label.setObjectName(u"label")

        self.horizontalLayout_5.addWidget(self.label)

        self.verticalLayout = QVBoxLayout()
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.label_5 = QLabel(DlgCardClass)
        self.label_5.setObjectName(u"label_5")

        self.verticalLayout.addWidget(self.label_5)

        self.comboBox = QComboBox(DlgCardClass)
        self.comboBox.setObjectName(u"comboBox")

        self.verticalLayout.addWidget(self.comboBox)

        self.horizontalLayout = QHBoxLayout()
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.tableWidget_ad = QTableWidget(DlgCardClass)
        self.tableWidget_ad.setObjectName(u"tableWidget_ad")
        sizePolicy = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(3)
        sizePolicy.setHeightForWidth(self.tableWidget_ad.sizePolicy().hasHeightForWidth())
        self.tableWidget_ad.setSizePolicy(sizePolicy)
        self.tableWidget_ad.setSizeIncrement(QSize(1, 0))

        self.horizontalLayout.addWidget(self.tableWidget_ad)

        self.qwtPlot = QwtPlot(DlgCardClass)
        self.qwtPlot.setObjectName(u"qwtPlot")
        sizePolicy1 = QSizePolicy(QSizePolicy.MinimumExpanding, QSizePolicy.MinimumExpanding)
        sizePolicy1.setHorizontalStretch(3)
        sizePolicy1.setVerticalStretch(3)
        sizePolicy1.setHeightForWidth(self.qwtPlot.sizePolicy().hasHeightForWidth())
        self.qwtPlot.setSizePolicy(sizePolicy1)
        self.qwtPlot.setSizeIncrement(QSize(3, 0))

        self.horizontalLayout.addWidget(self.qwtPlot)

        self.horizontalLayout.setStretch(0, 1)
        self.horizontalLayout.setStretch(1, 5)

        self.verticalLayout.addLayout(self.horizontalLayout)

        self.verticalLayout.setStretch(0, 1)
        self.verticalLayout.setStretch(1, 1)
        self.verticalLayout.setStretch(2, 7)

        self.horizontalLayout_5.addLayout(self.verticalLayout)


        self.verticalLayout_2.addLayout(self.horizontalLayout_5)

        self.horizontalLayout_4 = QHBoxLayout()
        self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
        self.label_2 = QLabel(DlgCardClass)
        self.label_2.setObjectName(u"label_2")

        self.horizontalLayout_4.addWidget(self.label_2)

        self.horizontalSlider = QSlider(DlgCardClass)
        self.horizontalSlider.setObjectName(u"horizontalSlider")
        self.horizontalSlider.setOrientation(Qt.Horizontal)

        self.horizontalLayout_4.addWidget(self.horizontalSlider)


        self.verticalLayout_2.addLayout(self.horizontalLayout_4)

        self.horizontalLayout_3 = QHBoxLayout()
        self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
        self.label_3 = QLabel(DlgCardClass)
        self.label_3.setObjectName(u"label_3")

        self.horizontalLayout_3.addWidget(self.label_3)

        self.tableWidget_di = QTableWidget(DlgCardClass)
        self.tableWidget_di.setObjectName(u"tableWidget_di")
        sizePolicy2 = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)
        sizePolicy2.setHorizontalStretch(0)
        sizePolicy2.setVerticalStretch(0)
        sizePolicy2.setHeightForWidth(self.tableWidget_di.sizePolicy().hasHeightForWidth())
        self.tableWidget_di.setSizePolicy(sizePolicy2)

        self.horizontalLayout_3.addWidget(self.tableWidget_di)

        self.horizontalLayout_3.setStretch(1, 1)

        self.verticalLayout_2.addLayout(self.horizontalLayout_3)

        self.horizontalLayout_2 = QHBoxLayout()
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.label_4 = QLabel(DlgCardClass)
        self.label_4.setObjectName(u"label_4")

        self.horizontalLayout_2.addWidget(self.label_4)

        self.tableWidget_do = QTableWidget(DlgCardClass)
        self.tableWidget_do.setObjectName(u"tableWidget_do")
        sizePolicy2.setHeightForWidth(self.tableWidget_do.sizePolicy().hasHeightForWidth())
        self.tableWidget_do.setSizePolicy(sizePolicy2)

        self.horizontalLayout_2.addWidget(self.tableWidget_do)

        self.horizontalLayout_2.setStretch(1, 3)

        self.verticalLayout_2.addLayout(self.horizontalLayout_2)

        self.horizontalLayout_6 = QHBoxLayout()
        self.horizontalLayout_6.setObjectName(u"horizontalLayout_6")
        self.pushButton = QPushButton(DlgCardClass)
        self.pushButton.setObjectName(u"pushButton")

        self.horizontalLayout_6.addWidget(self.pushButton)

        self.pushButton_2 = QPushButton(DlgCardClass)
        self.pushButton_2.setObjectName(u"pushButton_2")

        self.horizontalLayout_6.addWidget(self.pushButton_2)

        self.pushButton_3 = QPushButton(DlgCardClass)
        self.pushButton_3.setObjectName(u"pushButton_3")

        self.horizontalLayout_6.addWidget(self.pushButton_3)


        self.verticalLayout_2.addLayout(self.horizontalLayout_6)

        self.verticalLayout_2.setStretch(0, 5)
        self.verticalLayout_2.setStretch(1, 1)
        self.verticalLayout_2.setStretch(2, 1)
        self.verticalLayout_2.setStretch(3, 1)
        self.verticalLayout_2.setStretch(4, 1)

        self.verticalLayout_3.addLayout(self.verticalLayout_2)


        self.verticalLayout_4.addLayout(self.verticalLayout_3)


        self.retranslateUi(DlgCardClass)
        self.comboBox.currentIndexChanged.connect(DlgCardClass.gainChange)
        self.tableWidget_ad.cellClicked.connect(DlgCardClass.chanelClick)
        self.tableWidget_do.cellClicked.connect(DlgCardClass.doClick)
        self.horizontalSlider.sliderMoved.connect(DlgCardClass.daClick)
        self.pushButton.clicked.connect(DlgCardClass.start)
        self.pushButton_2.clicked.connect(DlgCardClass.stop)
        self.pushButton_3.clicked.connect(DlgCardClass.pause)

        QMetaObject.connectSlotsByName(DlgCardClass)
    # setupUi

    def retranslateUi(self, DlgCardClass):
        DlgCardClass.setWindowTitle(QCoreApplication.translate("DlgCardClass", u"DlgCardClass", None))
        self.actionAbout.setText(QCoreApplication.translate("DlgCardClass", u"About", None))
        self.actionSetup.setText(QCoreApplication.translate("DlgCardClass", u"Setup", None))
        self.actionExit.setText(QCoreApplication.translate("DlgCardClass", u"Exit", None))
        self.actionAutoScale.setText(QCoreApplication.translate("DlgCardClass", u"AutoScale", None))
        self.label.setText(QCoreApplication.translate("DlgCardClass", u"AD", None))
        self.label_5.setText(QCoreApplication.translate("DlgCardClass", u"gain", None))
        self.label_2.setText(QCoreApplication.translate("DlgCardClass", u"DA", None))
        self.label_3.setText(QCoreApplication.translate("DlgCardClass", u"DI", None))
        self.label_4.setText(QCoreApplication.translate("DlgCardClass", u"DO", None))
        self.pushButton.setText(QCoreApplication.translate("DlgCardClass", u"start", None))
        self.pushButton_2.setText(QCoreApplication.translate("DlgCardClass", u"stop", None))
        self.pushButton_3.setText(QCoreApplication.translate("DlgCardClass", u"pause", None))
    # retranslateUi

